/**
 * The MIT License
 * <p>
 * Copyright (c) 2017
 */
package com.seelyn.flow.workflow;

import com.seelyn.flow.engine.WorkFlowParams;

abstract class AbstractWorkFlow implements WorkFlow {

    private String name;
    private WorkFlowParams params;

    AbstractWorkFlow(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setParams(WorkFlowParams params) {
        this.params = params;
    }

    @Override
    public WorkFlowParams getParams() {
        return params;
    }
}
